package com.smartlbs.dto;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;

/**
 * 用户基本信息数据查询对象
 * 
 * 
 */
public class UserBasicDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6940917277666840897L;
	
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		try {
			this.name = URLEncoder.encode(name, "utf-8");
		} catch (UnsupportedEncodingException e) {
			// TODO Auto-generated catch block
			this.name = name;
			e.printStackTrace();
		}
	}
	
}
